<template>
    <el-dialog
        title="新增员工"
        :visible.sync="dialogVisible"
        width="880px"
    >
        <slot name="body">

        </slot>
    </el-dialog>
</template>
<script lang="js">
export default {
    data(){
        return {
            dialogVisible: false
        }
    },
    methods:{
        showDialog() {
            this.dialogVisible = !this.dialogVisible
        },
    }
}
</script>
<style scoped lang="less">

</style>
